home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / network / telnetd.zip / DOC next >
Text File  |  1991-11-13  |  21KB  |  408 lines

  1.  
  2.                         The WATTCP TELNET Server
  3.  
  4.                             by Erick Engelke
  5.  
  6.  
  7. This program effectively allows you to remotely control your pc.  There
  8. is always work in place to improve TELNETD, work which is based on the
  9. large amount of positive feedback from users like you.  I post to
  10. comp.protocols.tcp-ip.ibmpc whenever I make significant changes
  11. or improvements to this program.
  12.  
  13. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  14. WARNING - TELNETD offers some simple password security provisions but remember:
  15.            1. TELNETD gets the password from an unencrypted disk file
  16.            2. TELNETD stores the password in memory as plain-text
  17.            3. All TELNET protocols send the password over the network in
  18.               plaintext - it's trivial to read a password on networks such
  19.               as Ethernet.
  20.  
  21.           The password protection is merely one step above no protection.
  22.           Do not leave important information accessible through TELNETD.
  23.           Change your password frequently and use mixed case and numbers
  24.           interspersed.  Avoid single words, use combinations of words.
  25.           Do not use the same password for TELNETD as you would for your
  26.           system priviledged account.  The maximum password length is
  27.           16 letters.
  28. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  29.  
  30. Installation
  31.  
  32.         TELNETD.EXE uses the Waterloo TCP kernal to do all the network i/o.
  33.         Installing the program can be performed by simply editing the ASCII
  34.         configuration file named WATTCP.CFG.  Try creating such a file with
  35.         information like the following and place it in the *SAME* subdirectory
  36.         as TELNETD.EXE.
  37.  
  38.         ---I:\NETWORK\WATTCP.CFG----------------------------------------------
  39.             my_ip=129.97.128.254            # substitute the PC's ip number
  40.             netmask=255.255.254.0           # substitute your local net mask
  41.             gateway=129.97.128.1            # substitute your local gateway
  42.                 # the next lines are optional
  43.             telnetd.password=Time2Go        # telnetd session password
  44.             telnetd.message="Wizbang Computer Network"  # openning message
  45.         ----------------------------------------------------------------------
  46.  
  47.         You need not include quotes except if you wish to include
  48.         non-alphanumeric characters like '#',';' or spaces.
  49.  
  50.         Full installation instructions for installing any Waterloo TCP
  51.         based program is available from sunee.uwaterloo.ca [129.97.128.196]
  52.         in pub/wattcp/apps.zip.  If you end up having difficulty running
  53.         TELNETD, download that zip file, it will prove very useful.  Also
  54.         included in that file is information on how to use BOOTP, multiple
  55.         gateways, and many other features.
  56.  
  57.         The above type of configuration is useful in all WATTCP based programs,
  58.         but you can also add some special parameters which will only be
  59.         interpretted by specific WATTCP programs.  In this case all parameters
  60.         specific to TELNETD are prepended with 'telnetd.' to make them
  61.         easily identifiable and to avoid naming conflicts with other WATTCP
  62.         applications.
  63.  
  64.         Load (and configure) an Ethernet packet driver, then run TELNETD.
  65.  
  66.         A message will appear indicating TELNETD is waiting for a caller and
  67.         it should report the correct IP address.  An indication of a password
  68.         should appear for every time it encounterred a password in the
  69.         configuration process.  If no packet driver is installed TELNETD will
  70.         have crashed by now.
  71.  
  72. Installing TELNETD on a Network
  73.         Do everything the same as above, but append the following line to
  74.         the WATTCP.CFG file:
  75.  
  76.         include=?c:\telnetd.pas
  77.  
  78.         and have user's place their private password in that file.  Eg.
  79.  
  80.         ---C:\TELNETD.PAS-----------------------------------------------------
  81.         # joe's private config parameters
  82.         telnetd.message="Joe's Private Computer - KEEP OUT ALL SURF NAZIS"
  83.         telnetd.password=Knuths4thBook
  84.         ----------------------------------------------------------------------
  85.  
  86.         In the above example I assumed the 'c' disk was the local hard disk.
  87.         You could select the network disk or both.  Here the network disk n:
  88.         has the last say on the password.  The telnetd.password directive can
  89.         appear several times and in several files, but the last occurance
  90.         is the password actually used.
  91.  
  92.         include=?c:\telnetd.pas
  93.         include=?n:\telnetd.pas
  94.  
  95.         The question mark tells TELNETD to use the file if it exists but not
  96.         complain if it doesn't.  You may like to leave a default password in
  97.         the WATTCP.CFG file, just so intruders are less likely to break in.
  98.  
  99.         There are some other parameters which are sometimes good to set.
  100.         One which can enhance security is the inactivity timeout.  Setting
  101.         this value to a non-zero value tells WATTCP to hang up the connection
  102.         if no activity occurs for a certain period of time.  A good value
  103.         would be something like twenty minutes.  Smaller values can be
  104.  
  105.  
  106.         -- WATTCP.CFG --------------------------------------------------------
  107.         # assuming properly configured as described earlier
  108.  
  109.         # print a message for local user
  110.         print="Press control-break to get out of this thing"
  111.  
  112.         # set the inactivity timeout value
  113.         inactive=1200   # 20 minutes ( 20 min x 60 sec/min = 1200 seconds )
  114.         ----------------------------------------------------------------------
  115.  
  116.  
  117. Using TELNETD
  118.         Go to a second PC.  Using Clarkson University (CUTCP) TELNET, telnet
  119.         to the first PC.  You could use NOS (KA9Q), but I don't think NOS
  120.         handles VT100 cursor keys and you will definately want them!
  121.         Other tested telnets include MicroVaxen, RS/6000 using AIX and
  122.         Macintoshes using MACTCP
  123.  
  124.         When you TELNET to TELNETD, you may have to hit return.  It's one
  125.         of those things left to fix.  Sorry, but it's getting too late
  126.         tonight.  You will then be confronted with a login message (from the
  127.         wattcp.cfg file) and a password prompt (if you selected a password in
  128.         the configuration file - otherwise skip this paragraph).  You must
  129.         enter the password correctly within a reasonable number of tries or
  130.         TELNETD will complain and close the session.  You must also reply
  131.         within a reasonable time limit.
  132.  
  133.         The passwords can be almost any printable ascii string up to 16
  134.         letters.  If you use characters other than alpha-numerics, you
  135.         should surround the password with quotes in the WATTCP.CFG file.
  136.         WATTCP removes the quotes when it parses the file, so you don't
  137.         enter the quotes when you enter the password at the prompt.
  138.  
  139.         Assuming you passed the password test, TELNETD becomes a TSR and almost
  140.         immediately you will be at the DOS prompt.  You are now logged in.
  141.  
  142.         Anything you type on the remote PC will appear to be typed on the
  143.         TELNETD PC.  QEDIT, LIST.COM, BORLAND C++, and many other programs
  144.         are compatible (check out the character translation).  There will be
  145.         slight periodic delays.  Using a 386 to run TELNETD will improve
  146.         your performance.  If the screen appears to be messed up or incomplete,
  147.         you can have TELNETD redraw it by typing ESC R on the keyboard.
  148.  
  149.         This usually happens from either a lost packet or contention on
  150.         the network card if you are using the same card for network disk i/o.
  151.         For example, if I am compiling then TELNETD can find very few
  152.         cracks in the network i/o because my computer is diskless.  But most
  153.         operations are not so incredibly disk intensive and it feels quite
  154.         reasonable.
  155.  
  156.         Remember that the remote PC is running VT 100 emulation and so